package com.authine.cloudpivot.web.api.secondopen.dao;

import com.authine.cloudpivot.web.api.secondopen.domain.NoteFlightOrderPushBack;
import com.authine.cloudpivot.web.api.secondopen.domain.NoteStatementPageList;
import com.authine.cloudpivot.web.api.secondopen.domain.SameRoadApplyOrderSyncMaintain;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @Author: brookpeng
 * @Date: 2021/12/21 10:25
 */
@Repository
public interface SameRoadBusinessTravelMapper {

    public Map<String, Object> getCcsqdInfo(@Param(value = "tableName") String tableName, @Param(value = "sequenceNo") String sequenceNo);

    public List<Map<String, Object>> getCcsqdSubTable(String tableName, String parentId);

    public int insertSyncResult(@Param("sameRoadApplyOrderSyncMaintain")SameRoadApplyOrderSyncMaintain sameRoadApplyOrderSyncMaintain, @Param("tableName") String tableName);

    public int insertFlightOrderPushBack(@Param("noteFlightOrderPushBack") NoteFlightOrderPushBack noteFlightOrderPushBack, @Param("tableName") String tableName);

    public int insertStatementPageList(@Param("statementPageLists") List<NoteStatementPageList> statementPageLists, @Param("tableName") String tableName);
}
